<?php
/* @var $this AdsController */
/* @var $model Ads */

$this->breadcrumbs = array(
    'Ads' => TreTodayUrl::backendAdsUrl()
);
?>
<a href="<?php echo TreTodayUrl::backendAdsCreateUrl() ?>" class="btn btn-default">Create</a>
<div id="" class="admin-main-wrapper form-inline">
    <div class="dataTables_wrapper">
        <?php $this->widget('zii.widgets.grid.CGridView', array(
            'id' => 'ads-grid',
            'dataProvider' => $model->search(),
            'filter' => $model,
            'columns' => array(
                'ads_id',
                'ads_name',
                'description',
                'url',
                'position',
                'image_path',
                array(
                    'class' => 'CButtonColumn',

                ),
            ),
        )); ?>
    </div>
</div>